<Level Size="1760,1280" ShowSize="700,700" xShowSize="2400,1200" Title="Break on Through, to the Other Side">   
	<Description></Description>
	<Hint></Hint>
	
	<Scripts>
		<Script FileName="DemoLevel5Script.cs" ExecuteMethod="DemoLevel5Script.RegisterEngineScripts"/>
	</Scripts>
	<LevelTask>
		<TaskAnd>
		  <TaskRescuedGoos Count="10" />
		  <TaskNeverCompleted />
		</TaskAnd>
	</LevelTask> 

	<LevelParts>
		<OffsetFrame Offset="0,0">
			<!-- The goal! This is where the goos should go. You can have multiple goals that accept different goos.
				LevelGoal determines when the goal has been reached, so each level requires a LevelGoal and a Goal. -->
			<Goal Position="400,2200" AcceptsParticleTypes="all" />

			<!-- Ball -->
			<Circle Position="250,200" Radius="110" Edges="30" Density="28" FrictionCoefficient="0" RestitutionCoefficient="0" Identifier="BigBall"/>

			<!-- A simple but stable four ways block. You can copy this block and change the offset to place it in a new spot -->
			<!-- <OffsetFrame Offset="1175,1100">-->
			<OffsetFrame Offset="1175,900">
				<SimpleParticle Position="0,0" Sleeping="false" Identifier="Block1"/>	
				<SimpleParticle Position="70,0" Sleeping="false" Identifier="Block2"/>	
				<SimpleParticle Position="0,70" Sleeping="false" Identifier="Block3"/>	
				<SimpleParticle Position="70,70" Sleeping="false" Identifier="Block4"/>	
				<Link LinkFromId="Block1" LinkToId="Block2" />
				<Link LinkFromId="Block2" LinkToId="Block3" />
				<Link LinkFromId="Block3" LinkToId="Block4" />
				<Link LinkFromId="Block4" LinkToId="Block1" />
				<Link LinkFromId="Block1" LinkToId="Block3" />
				<Link LinkFromId="Block4" LinkToId="Block2" />
				<!-- A factory that creates a number of randomly placed objects -->
				<Factory Position="-135,0" Size="150,260" >
					<StrongParticle Sleeping="false" Count="45"  />
					<!-- FrictionCoefficient="0.1" RestitutionCoefficient="0.1"-->
				</Factory>
				<Factory Position="190,0" Size="100,60" >
					<MultiLinkParticle Sleeping="true" Count="15" />
				</Factory>
			</OffsetFrame>	 
			
			<!-- Ball pushing goos -->
			<OffsetFrame Offset="110,330">
				<StrongParticle Position="25,50" Sleeping="false" Identifier="x1" LinkableDistanceLinkBias="100"/>	
				<StrongParticle Position="0,50" Sleeping="false" Identifier="x2" LinkableDistanceLinkBias="100"/>	
				<StrongParticle Position="50,50" Sleeping="false" Identifier="x3"  LinkableDistanceLinkBias="100"/>	
				<StrongParticle Position="25,0" Sleeping="false" LinkableDistanceLinkBias="100"/>	
				<StrongParticle Position="65,0" Sleeping="false" LinkableDistanceLinkBias="100"/>	
				<Link LinkFromId="x1" LinkToId="x2" />
			</OffsetFrame>

			<!-- Left platform -->
			<Rectangle Position="150,400" Size="300,40" Rotation="0" IsStatic="true" />
			<!-- Left wall -->
			<Rectangle Position="60,275" Size="40,200" Rotation="0" IsStatic="true" />
			<!-- Slide -->
			<Rectangle Position="710,825" Size="1200,40" Rotation="45" IsStatic="true" FrictionCoefficient="0"/>
			<!-- Right floor -->
			<Rectangle Position="1275,1250" Size="300,40" Rotation="0" IsStatic="true" RestitutionCoefficient="0" />
			<!-- Right wall --> 
			<Rectangle Position="1275,1110" Size="40,240" Rotation="0" IsStatic="true" />				

			<!-- test -->
			<!-- <Rectangle Position="1075,1000" Size="400,40" Rotation="0" IsStatic="true" RestitutionCoefficient="0" /> -->


			<!-- THE TEMPLE -->			
			<!-- Platform -->
			<Rectangle Position="1577,1160" Size="300,220" Rotation="0.5" IsStatic="true" />				

			<Goal Position="1581,941" />
			<!-- The temple, walls! -->
			<Rectangle Position="1455,930" Size="60,220" Rotation="0" Density="200" Identifier="Temple1" IsDeadly="true"/>
			<Rectangle Position="1690,930" Size="60,220" Rotation="0" Density="200" Identifier="Temple2" IsDeadly="true"/>
			<!-- The temple, roof! -->
			<Rectangle Position="1577,800" Size="300,20" Rotation="0" Density="200" Identifier="Temple3" IsDeadly="true"/>
					
		</OffsetFrame>
	</LevelParts>
</Level>